package com.letoken.platform.repo.ecommerce.vo;


import com.letoken.platform.repo.ecommerce.po.EcommerceProductDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新商家订单详情")
public class ShopOrderDetailRes implements Serializable {

    private Integer mallUserId;

    private Integer userId;

    @ApiModelProperty("订单ID")
    private Integer id;

    @ApiModelProperty("状态")
    private Integer status;


//    @ApiModelProperty("状态名称")
//    private String statusName;





    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;


    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;


    @ApiModelProperty(value = "省份/直辖市")
    private String receiverProvince;

    @ApiModelProperty(value = "城市")
    private String receiverCity;

    @ApiModelProperty(value = "区")
    private String receiverRegion;

    @ApiModelProperty(value = "详细地址")
    private String receiverAddress;



    @ApiModelProperty("订单号")
    private String fatherNo;



    @ApiModelProperty("订单总额")
    private BigDecimal totalAmount;


    @ApiModelProperty(value = "运费")
    private BigDecimal shipping;


    @ApiModelProperty(value = "支付总额")
    private BigDecimal payAmount;

    @ApiModelProperty("订单总额")
    private BigDecimal totalAmountCap;


    @ApiModelProperty(value = "运费")
    private BigDecimal shippingCap;


    @ApiModelProperty(value = "支付总额")
    private BigDecimal payAmountCap;


    @ApiModelProperty("订单备注")
    private String remark;


    List<ShopOrderNewDetailSubRes> subRes;




    /**********************************************************************************/

    @ApiModelProperty("下单时间（待支付）")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "支付时间 (待发货)")
    private LocalDateTime paymentTime;


    @ApiModelProperty(value = "物流订单号 (已发货)")
    private String deliveryNo;

    @ApiModelProperty(value = "发货时间 (已发货)")
    private LocalDateTime deliveryTime;


    @ApiModelProperty(value = "完成时间/关闭时间 (已完成/已关闭)")
    private LocalDateTime updateTime;





//    @ApiModelProperty(value = "让利值")
//    private BigDecimal contributing;
//
//    @ApiModelProperty("rmb价格")
//    private BigDecimal rmbPrice;
//
//    private BigDecimal rmbRate;





}
